﻿ALTER TABLE [dbo].[PAY_OUT_ON_INV_IN]
    ADD CONSTRAINT [FK_PAY_OUT_ON_INV_IN_INVOICE_IN] FOREIGN KEY ([INVOICE_IN_ID]) REFERENCES [dbo].[INVOICE_IN] ([ID]) ON DELETE CASCADE ON UPDATE NO ACTION;

